( function() {

    var core = ecui,
        dom = core.dom,
        ui = core.ui,

        inheritsControl = core.inherits,

        UI_CONTROL = ui.Control;
        
    var UI_MYUI = ui.MyUI =
        inheritsControl(
            UI_CONTROL, //superClass
            'ui-myui',  //type
            function (el, options) {
                el.innerHTML = 'hello my custom ui!'
            }           //preprocess
            //[ subClass ]
        ),
        UI_MYUI_CLASS = ui.MyUI.prototype;
     UI_MYUI_CLASS.getText = function(){
         return this.getBody().innerHTML;
     };
        
} )();